package com.jiudengnile.liushu.biz.domains;

/**
 * 类目
 * @author pister
 * 2012-9-8 下午02:30:51
 */
public class CategoryDO extends BaseDO {

	private static final long serialVersionUID = -7022230323659133175L;
	
	private long id;
	
	/**
	 * 名称
	 */
	private String name;
	
	/**
	 * 父类目，如果为0，则表示没有父类目
	 */
	private long parentId;
	
	/**
	 * 排序值，值越大，越靠前
	 */
	private int orderValue;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	public int getOrderValue() {
		return orderValue;
	}

	public void setOrderValue(int orderValue) {
		this.orderValue = orderValue;
	}

}
